set PATH=
set PATH=%PATH%;C:\Qt\qt.2009.03.mingw@2009.08.18\bin
set PATH=%PATH%;%SystemRoot%\System32

C:
cd \qt\qt-everywhere-opensource-src-4.6.2
echo y | configure.exe -opensource -platform win32-g++ -qmake -dont-process -static -no-exceptions -release -openssl-linked OPENSSL_LIBS="-lssl -lcrypto -lgdi32" -qt-sql-sqlite -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg
bin\qmake projects.pro QT_BUILD_PARTS="libs tools"
mingw32-make
